package me.moscrop.RootCommand.listeners;

import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.event.block.BlockListener;
import org.bukkit.event.block.BlockSpreadEvent;

public class RCBlockListener extends BlockListener {
	
	public void onBlockSpread(BlockSpreadEvent event){
		Block block = event.getBlock();
		
		if (block.getType() == Material.VINE){
			event.setCancelled(true);	
		}
	}

}
